package com.glacier.cloud.order.entity.dataobject;

import com.glacier.framework.component.dal.dataobject.BaseDo;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * date 2023-12-27 10:46
 *
 * @author glacier
 * @version 1.0
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class OrderItemDo extends BaseDo {
    /**
     * 用户ID
     */
    private Long customerUserId;

    /**
     * 订单ID
     */
    private Long orderId;

    /**
     * 订单编号
     */
    private String orderSn;

    /**
     * 商品SPU ID
     */

    private Long productSpuId;

    /**
     * 商品SKU ID
     */
    private Long productSkuId;

    /**
     * 商品图
     */
    private String productPic;

    /**
     * 商品名称
     */
    private String productName;

    /**
     * 商品品牌
     */
    private String productBrand;

    /**
     * 商品价格
     */
    private BigDecimal productPrice;

    /**
     * 商品购买数量
     */
    private Integer productQuantity;
}
